<template>
  <div>
    <van-nav-bar
      title="设置"
      left-arrow
      @click-left="onClickLeft"
    />
    <div id="erceng">
      <van-cell title="个人资料" is-link size="large" to="/geren"/>
      <van-cell title="地址管理" is-link size="large" />
      <van-cell title="清除缓存" is-link size="large" value="100MB" />
      <van-cell title="关于我们" is-link size="large" />
      <van-cell title="版本信息" is-link size="large" value="版本1.0.0" />
    </div>
    <router-link to="/login">
      <button class="btn">退出登录</button>
    </router-link>
  </div>
</template>
<script>
export default {
   methods: {
    onClickLeft() {
      this.$router.back();
    },
  },
};
</script>

<style lang="scss" scoped>
// .van-cell van-cell--clickable{
//   height: 30px;
// }
.btn {
  border: 0;
  color: #fff;
  position: absolute;
  width: 345px;
  height: 46px;
  left: 15px;
  top: 423px;
  /* 主色渐变 */
  background: linear-gradient(266.23deg, #4960f7 0%, #6a97fa 100%);
  border-radius: 30px;
}
</style>
